package zl.osimall.common.mapper;

import org.apache.ibatis.annotations.Mapper;
import zl.osimall.common.bean.User;

import java.util.List;

@Mapper
public interface UserMapper {
    public Integer insert(User user);

    public Integer update(User user);

    public User selectByUsername(String username);

    public User selectById(Integer id);

    public List<User> selectByPage(User user);


}
